Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert Next config file to ECMAScript module #624

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Conversation

SebiVPS
Copy link
Contributor

@SebiVPS SebiVPS commented Dec 19, 2024

Description

https://nextjs.org/docs/pages/api-reference/config/next-config-js#ecmascript-modules

When we want to use ECMA script modules (used by panda-css or next-yak for eg.) we need to update the next-config file from js to mjs.

@nsams
Copy link
Member

nsams commented Dec 19, 2024

in next 15 we can use .ts

@johnnyomair johnnyomair changed the title update next config: use mjs instead of js Convert Next config file to ECMAScript module Dec 19, 2024
@SebiVPS SebiVPS removed the request for review from mariokemetinger January 7, 2025 08:01
@johnnyomair
Copy link
Collaborator

@SebiVPS please open a PR for Demo as well, thanks!

@johnnyomair johnnyomair merged commit 90a123e into main Jan 10, 2025
3 checks passed
@johnnyomair johnnyomair deleted the update-next-config branch January 10, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants